home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
cuj1008.zip
/
CMENU14.ZIP
/
MAKEFILE.UNX
< prev
next >
Wrap
Text File
|
1992-01-29
|
1KB
|
51 lines
#
# Make file for CMENU Menu compiler system
# For use with Unix/Xenix.
# Rename this file to "Makefile"
#
CC = cc
# Configuration options:
# Uncomment only one of the following two lines, XENIX for XENIX only,
# UNIX for any non-XENIX system:
#SYSTEM = UNIX
SYSTEM = XENIX
# uncomment one only (first works for XENIX, second for most others):
CULIBS = -ltcap -ltermcap
#CULIBS = -lcurses -ltermcap
# uncomment only ONE of the following 2 lines. The first will
# compile the included strstr() definition, the second will cause
# the library version of strstr() to be used.
#NEEDSTR = -DNEEDSTR
NEEDSTR =
#
# From this point on, no changes should be necessary.
#
COPTS = -D$(SYSTEM)=1 $(NEEDSTR) -O
CFILES = cmenu1.o cmenu2.o cmenu3.o
RFILES = rmenu1.o rmenu2.o rmenu3.o rmenu4.o
all: cmenu rmenu dmenu
.c.o:
$(CC) -c $(COPTS) $<
cmenu: $(CFILES) Makefile
$(CC) -o $@ $(CFILES)
rmenu: $(RFILES) Makefile
$(CC) -o $@ $(RFILES) $(CULIBS)
dmenu: dmenu.c cmenu.h Makefile
$(CC) $(COPTS) -o dmenu dmenu.c
$(CFILES): ccmenu.h cmenu.h
$(RFILES): rcmenu.h cmenu.h